import request from '@/utils/request'
export function listAerationResult(query) {
  return request({
    url: '/nssc/aerationresult/list',
    method: 'get',
    params: query
  })
}
export function listAerationPort(query) {
  return request({
    url: '/nssc/aerationresult/aerationreport',
    method: 'get',
    params: query
  })
}
export function listAerationPort1(query) {
  return request({
    url: '/nssc/aerationresult/aerationreport1',
    method: 'get',
    params: query
  })
}
//巡检采集，不分页
export function taskResultReport(query) {
  return request({
    url: '/nssc/aerationresult/taskresultreport',
    method: 'get',
    params: query
  })
}
//巡检采集
export function taskResultReport1(query) {
  return request({
    url: '/nssc/aerationresult/taskresultreport1',
    method: 'get',
    params: query
  })
}
//曝气算法分析报告
export function aerationResultReport(query) {
  return request({
    url: '/nssc/aerationresult/aerationresultreport',
    method: 'get',
    params: query
  })
}
export function delAerationResult(id) {
  return request({
    url: '/nssc/aerationresult/remove/' + id,
    method: 'delete'
  })
}
//查询算法视频分析结果
export function getResultVideo(videoname) {
  return request({
    url: '/nssc/aerationresult/getresultvideo/' + videoname,
    method: 'get'
  })
}
//查询算法视频分析结果
export function gettaskResultVideo(videoname) {
  return request({
    url: '/nssc/aerationresult/getxjcjvideo/' + videoname,
    method: 'get'
  })
}
//获取原视频
export function getUploadVideo(videoname) {
  return request({
    url: '/nssc/aerationresult/getuploadvideo/' + videoname,
    method: 'get'
  })
}
//获取图片
export function getpic(picpath) {
  return request({
    url: '/nssc/aerationresult/getresultpic/' + picpath,
    method: 'get'
  })
}
//算法能力统计信息
export function sfnltjxxResult(query) {
  return request({
    url: '/nssc/aerationresult/sfnltjxx',
    method: 'get',
    params: query
  })
}
